const { execSync } = require('child_process');

process.stdin.on('data', (data)=>{
  console.log('stdin', data.toString());

  const result = execSync('./has-arg std', {stdio: ['pipe', 'pipe', 'pipe']});

  console.log('master process:', result.toString());
});

